package com.zoran.study.spring.helper;


import com.zoran.study.spring.model.User;

/**
 * UserBeanFactory
 *
 * @author zouxm
 * @date 2018/4/8
 */
public class UserBeanFactory {

    public static User createUser(String name){
        System.out.println("create user:"+name);
        return new User(name);
    }

    public  User createUserInstance(String name){
        System.out.println("create user:"+name);
        return new User(name);
    }
}
